package com.ruoyi.productconfig.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户等级商品配置对象 user_level_product_config
 * 
 * @author ruoyi
 * @date 2025-11-11
 */
public class UserLevelProductConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户等级 */
    @Excel(name = "用户等级")
    private Long userLevel;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 所需金额 */
    @Excel(name = "所需金额")
    private BigDecimal requiredAmount;

    /** 奖励金额 */
    @Excel(name = "奖励金额")
    private BigDecimal inviteRewardAmount;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isActive;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserLevel(Long userLevel) 
    {
        this.userLevel = userLevel;
    }

    public Long getUserLevel() 
    {
        return userLevel;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    public void setRequiredAmount(BigDecimal requiredAmount) 
    {
        this.requiredAmount = requiredAmount;
    }

    public BigDecimal getRequiredAmount() 
    {
        return requiredAmount;
    }

    public void setInviteRewardAmount(BigDecimal inviteRewardAmount) 
    {
        this.inviteRewardAmount = inviteRewardAmount;
    }

    public BigDecimal getInviteRewardAmount() 
    {
        return inviteRewardAmount;
    }

    public void setIsActive(Long isActive) 
    {
        this.isActive = isActive;
    }

    public Long getIsActive() 
    {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userLevel", getUserLevel())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("requiredAmount", getRequiredAmount())
            .append("inviteRewardAmount", getInviteRewardAmount())
            .append("isActive", getIsActive())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
